package com.liao.rent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 反馈表
 * </p>
 *
 * @author liao
 * @since 2024-12-07
 */
@Getter
@Setter
@TableName("feedback")
@Schema( description = "反馈表")
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "feedback_id", type = IdType.AUTO)
    private Integer feedbackId;

     @Schema(title = "反馈标题")
    @TableField("title")
    private String title;

     @Schema(title = "反馈内容")
    @TableField("content")
    private String content;

     @Schema(title = "反馈的用户id")
    @TableField("user_id")
    private Integer userId;

     @Schema(title = "处理状态（0等待处理，1.已经处理）")
    @TableField("status")
    private Integer status;

     @Schema(title = "回复内容")
    @TableField("reply")
    private String reply;

     @Schema(title = "联系人邮箱姓名")
    @TableField("contact_name")
    private String contactName;

     @Schema(title = "联系人邮箱")
    @TableField("contact_email")
    private String contactEmail;

     @Schema(title = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

     @Schema(title = "修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

     @Schema(title = "创建人")
    @TableField("create_user")
    private Integer createUser;

     @Schema(title = "修改人")
    @TableField("update_user")
    private Integer updateUser;
}
